const api = require('./api') //postRequest 无需验证token  PostRequest 需要验证token
// 微信登陆
export const user = {
	wxlogin(data, fun) {
		return api.postRequest('/api/user/wxlogin', data, fun)
	}
}
// 表单
export const form = {
	lists(data, fun) {
		return api.postRequest('/api/form/lists', data, fun)
	},
	detail(data, fun) {
		return api.postRequest('/api/form/detail', data, fun)
	},
	add(data, fun) {
		return api.postRequest('/api/form.data/add', data, fun)
	}
}
